package com.wwl.cms.repository;

import com.wwl.cms.entity.UserBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/9/28 16:13
 * @description:
 */
@Repository
public interface UserInfoRepository extends JpaRepository<UserBean,Long> {
    UserBean findFirstById(Long id);

    UserBean findByNameAndPwd(String name,String password);

    List<UserBean> save( List<UserBean> list);
}
